package com.li.mapper;

import com.li.DTO.LoginDTO;
import com.li.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author: zhiqingLi
 * @Description:
 * @Date: Created in 9:42 2024/3/13
 **/
@Mapper
public interface LoginMapper {
    
    @Select("select * from employee where username = #{username} and password=#{password} ;")
    Employee login(LoginDTO loginDTO);
}
